<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">权限管理</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            权限编辑
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-12">
                                    <form role="form" method="post">
                                        <input type="hidden" name="id" value="{$groupItem['id']}">
                                        <div class="form-group">
                                            <label>模块名称</label>
                                            <input class="form-control" name="module" value="{$groupItem['module']}" placeholder="请输入模块名称">
                                        </div>

                                        <div class="form-group">
                                            <label>用户组名称</label>
                                            <input class="form-control" name="title" value="{$groupItem['title']}" placeholder="请输入模块名称">
                                        </div>
                                       
                                        <volist name="list" id="item" >
                                            <if condition="$i % 4 eq 1" >
                                                <div class="form-group">
                                            </if>
                                            
                                            
                                            <label class="checkbox-inline">
                                                <input type="checkbox" value="{$item.id}" name="rules[]" <in name="item.id" value="$groupItem['rules']" >checked</in> >{$item.title}
                                            </label>
                                               
                                            <if condition="$i % 4 eq 0" >    
                                                </div>
                                            </if>  

                                        </volist> 

                                        <div class="form-group">
                                            <button type="submit" class="btn btn-default">提交</button>
                                        </div>
                                    </form>

                                </div>
                                <!-- /.col-lg-6 (nested) -->
                               
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->
